package com.creditnet.bmc.platform.service;

import com.creditnet.bmc.platform.domain.RoleDO;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by bjmaozhengwei on 2018/3/31.
 */
@Service
public interface RoleService {
    RoleDO get(Long id);

    List<RoleDO> list();

    int save(RoleDO role);

    int update(RoleDO role);

    int remove(Long id);

    List<RoleDO> list(Long userId);

    int batchremove(Long[] ids);
}
